﻿using DiagnosticSourceDemo.ConsoleApp;
using System.Diagnostics;

Console.WriteLine("Hello, World!");

var observer = new ExampleDiagnosticObserver();
DiagnosticListener.AllListeners.Subscribe(observer);

var client = new HttpClient();
await client.GetAsync("https://www.baidu.com");